home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ IE Options 13.xpl < prev    next >
Text File  |  2004-04-29  |  2KB  |  46 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Internet\Internet Explorer\Security"
  5. "UIPATH 2"="Network\Security\Passwords"
  6. "NAME"="Internet Explorer Password Caching"
  7. "LANGUAGE"="VBScript"
  8. "VERSION"="1.03"
  9. "TEXT 1"="Enable Password Caching in IE"
  10. "DESCRIPTION 1"="When you try to access a site that requires you to log in, you usually see a dialog box "Enter Password" where you need to enter your name and your password to gain access. "
  11. "DESCRIPTION 2"="Normally, this dialog box also has a "Save this password" checkbox so Internet Explorer saves the username and password combination for you. On some computers, you maybe do not want this password caching to happen so you can deactivate it. Please note that this is a per-user setting, it does not apply to the entire computer."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="thanks to  roman for the idea!"
  16. "COMMENT 2"="see also: http://support.microsoft.com/?kbid=229940"
  17.  
  18. sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\DisablePasswordCaching"
  19. 'DW 
  20.  
  21. SUB Plugin_Initialize  
  22.  i=RegReadValue(sV1)
  23.  if i<>1 then SetUIElement 1,true
  24. END SUB
  25.  
  26. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  27.  Call Wrt(1,sV1)
  28.  
  29. END SUB
  30.  
  31. Sub Wrt(ITM,VAL)
  32.  b=GetUIElement(ITM)
  33.  if b=false then
  34.     Call RegWriteValue(VAL,1,2)
  35.  else
  36.     s=RegReadValue(VAl)
  37.     if IsEmpty(s)=false then
  38.        Call RegDeleteValue(VAL)
  39.     end if
  40.  end if
  41. end sub
  42.  
  43. SUB Plugin_Terminate
  44. END SUB
  45.  
  46.